package com.igeek.shop.entity;

public class Gouwuche {

	//商品id
	private String pid;
	//数量
	private int buyNum;
	//小计
	private double subtotal;
	//用户名字
	private String username;
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public int getBuyNum() {
		return buyNum;
	}
	public void setBuyNum(int buyNum) {
		this.buyNum = buyNum;
	}
	public double getsubtotal() {
		return subtotal;
	}
	public void setsubtotal(double subtotal) {
		this.subtotal = subtotal;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	@Override
	public String toString() {
		return "Gouwuche [pid=" + pid + ", buyNum=" + buyNum + ", subtotal=" + subtotal + ", username=" + username + "]";
	}
	
	
	
	
	
}
